删除全局错误事件的监听函数
onError 传入的监听函数。不传此参数则删除所有监听函数。
const listener = function (res) { console.log(res) } tap.onError(listener) tap.offError(listener) // 需传入与监听时同一个的函数对象
上一页 « tap.offUnhandledRejection 下一页 tap.offAudioInterruptionEnd »